package com.xiaohui.gwc.mapper;

import com.xiaohui.gwc.mode.JwtUser;
import com.xiaohui.gwc.mode.Role;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author: Poppin
 * @Date: 2021/11/30 12:31
 * @Version: 1.0
 */
@Mapper
public interface JwtUserMapper {


    JwtUser loadUserByUsername(String username);
    List<Role> getJwtUserRolesByUid(Integer id);
}
